home *** CD-ROM | disk | FTP | other *** search
/ Professional Soft Collection 1.02 / Professional Soft Collection 1.02.iso / msdos622.rus / msdos_4.ddi / SD6COPY.BAK < prev    next >
Text File  |  1993-05-31  |  758b  |  40 lines

  1. @echo off
  2. if not "%1"=="" goto checkit
  3. echo To install the Supplemental Utilities, type SETUP at the command prompt.
  4. goto done
  5.  
  6. :checkit
  7. if "%1"=="CHANGEDISK" goto chngdsk
  8.  
  9. if not exist %2\%1 goto doit
  10. echo There is already a file named %1 in %2.
  11. %2\choice /c:yn "Do you want to overwrite it?  Yes, No "
  12. if errorlevel 2 goto done
  13.  
  14. :doit
  15. if "%3"=="NC" goto special
  16. echo   Copying %1 to %2\%1
  17. %2\expand %1 %2\%1  > NUL
  18. if "%3"=="D" setver %1 /D /QUIET > NUL
  19. goto done
  20. :special
  21. echo   Copying %1 to %2
  22. %4\expand %1 %2  > NUL
  23. goto done
  24.  
  25.  
  26.  
  27. :chngdsk
  28. if "%SD6%"=="%2" goto done
  29. if exist %DISK%ID0%2.BAT goto newdisk
  30. echo.
  31. echo Insert Supplemental Disk %2, and then press ENTER.
  32. pause
  33. goto chngdsk
  34.  
  35. :newdisk
  36. set SD6=%2
  37.  
  38. :done
  39.  
  40.